<template>
  <div class="home">
    <h1>首页</h1>
  </div>
</template>

<script setup>
// 组件命名
defineOptions({ name: "Home" });

import { onMounted } from "vue";
import Mitt from "@/mitt/index.js";

onMounted(() => {
  //改变顶部面包屑文字展示
  Mitt.emit("sendcrumbsInfo", { first: "首页", second: "" });
});
</script>

<style lang="less" scoped>
.home {
  width: 100%;
  height: 100%;
  background-color: #fff;
}
</style>
